#ifndef NETSERVER_UDP_H
#define NETSERVER_UDP_H
#include <QUdpSocket>
#include <QString>
#include <QtNetwork>
#include <QHostInfo>

class Netserver_udp
{
public:
    Netserver_udp(QString setserverip = NULL,int setserverport = 0,int setlistenport = 0);
    ~Netserver_udp();
    QUdpSocket *m_UdpDescribe;

    QByteArray m_ReciveMessageProcess();
    void m_SendMessageProcess(QByteArray);
    QString m_GetIp();
private:
    QString m_ServerIP;
    int m_ServerPort;
    int m_ListenPort;
};

#endif // NETSERVER_UDP_H
